package com.woniuxy.rbac.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author: linKe
 * @Date: 2021/11/22 23:41
 * @FileName: Role
 * @version: 1.0
 * @Description: 角色实体类
 */
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Data
@TableName(value = "rbac_role")
public class Role {
    /**
     * 角色ID
     */
    @TableId(type = IdType.AUTO)
    private int id;
    private String name;
    private String description;
    private String status;


}
